package com.zhanglu.authentication.entity;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Getter;
import lombok.Setter;
import lombok.ToString;

/**
 * @description 权限表
 * @Auther zhanglu
 * @Date 2017/9/21 上午11:14
 */
@Getter
@Setter
@ToString(callSuper = true)
@ApiModel(value = "应用权限")
public class AuthPermission extends BaseEntity {
    @ApiModelProperty("服务名称，用于区别是哪个服务")
    private String serverName;
    @ApiModelProperty("角色名称")
    private String roleName;
    @ApiModelProperty("权限资源路径")
    private String url;
    @ApiModelProperty("url类型，后台资源是get、set等")
    private String methodType;
    @ApiModelProperty("描述,或者对外的描述url的别名")
    private String description;
}
